package com.spring.lifecycle_demo;

import org.springframework.context.Lifecycle;
import sun.plugin.viewer.LifeCycleManager;

public class MyLifecycleProcessor implements Lifecycle {

	@Override
	public void start() {
		System.out.println("start up ...");
	}

	@Override
	public void stop() {
		System.out.println("end up ...");
	}

	@Override
	public boolean isRunning() {
		System.out.println("running...");
		return true;
	}
}
